Skip to content

Fixes #4246 - adds onAccountNameChange #4270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 1, 2025

Conversation

Davis22d
Copy link
Contributor

Fixes #4246

This PR adds the onAccountNameChange event.

Copy link
Member

@Nico8340 Nico8340 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for your contribution

@tederis
Copy link
Member

tederis commented Jul 1, 2025

Personally, I don't see this as useful. It can easily be achieved from Lua.

@PlatinMTA
Copy link
Contributor

Personally, I don't see this as useful. It can easily be achieved from Lua.

Like lots of events and functions we already have... it's just for ease of use particularly for resources that are shared in the community. Personally I would use it to cache account names into a table.

@botder botder merged commit 078d46b into multitheftauto:master Aug 1, 2025
@botder botder added this to the 1.7.1 milestone Aug 1, 2025
@botder botder added the enhancement New feature or request label Aug 1, 2025
MTABot pushed a commit that referenced this pull request Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

onAccountNameChange event
6 participants